package com.scgl.sheet.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产工单对象 scgl_sheet
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public class ScglSheet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String worko;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String pend;

    /** 计划开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startdate;

    /** 计划结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date denddate;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long orderLevel;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String materialtype;

    /** 制造方式 */
    @Excel(name = "制造方式")
    private String method;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unit;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 计划产量 */
    @Excel(name = "计划产量")
    private Long plannedQuantity;

    /** 完成数量 */
    @Excel(name = "完成数量")
    private Long pleted;

    /** 车间 */
    @Excel(name = "车间")
    private String shopId;

    /** 生产线 */
    @Excel(name = "生产线")
    private String productId;

    /** 工艺 */
    @Excel(name = "工艺")
    private String craftId;

    /** 当前工序 */
    @Excel(name = "当前工序")
    private String proces;

    /** 订单来源 */
    @Excel(name = "订单来源")
    private String dersders;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String orderId;

    /** 交付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String orderSell;

    /** 实际开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date artdate;

    /** 实际结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enddate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorko(String worko) 
    {
        this.worko = worko;
    }

    public String getWorko() 
    {
        return worko;
    }
    public void setPend(String pend) 
    {
        this.pend = pend;
    }

    public String getPend() 
    {
        return pend;
    }
    public void setStartdate(Date startdate) 
    {
        this.startdate = startdate;
    }

    public Date getStartdate() 
    {
        return startdate;
    }
    public void setDenddate(Date denddate) 
    {
        this.denddate = denddate;
    }

    public Date getDenddate() 
    {
        return denddate;
    }
    public void setOrderLevel(Long orderLevel) 
    {
        this.orderLevel = orderLevel;
    }

    public Long getOrderLevel() 
    {
        return orderLevel;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setMaterialtype(String materialtype) 
    {
        this.materialtype = materialtype;
    }

    public String getMaterialtype() 
    {
        return materialtype;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setPlannedQuantity(Long plannedQuantity) 
    {
        this.plannedQuantity = plannedQuantity;
    }

    public Long getPlannedQuantity() 
    {
        return plannedQuantity;
    }
    public void setPleted(Long pleted) 
    {
        this.pleted = pleted;
    }

    public Long getPleted() 
    {
        return pleted;
    }
    public void setShopId(String shopId) 
    {
        this.shopId = shopId;
    }

    public String getShopId() 
    {
        return shopId;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setCraftId(String craftId) 
    {
        this.craftId = craftId;
    }

    public String getCraftId() 
    {
        return craftId;
    }
    public void setProces(String proces) 
    {
        this.proces = proces;
    }

    public String getProces() 
    {
        return proces;
    }
    public void setDersders(String dersders) 
    {
        this.dersders = dersders;
    }

    public String getDersders() 
    {
        return dersders;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setDeliveryDate(Date deliveryDate) 
    {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate() 
    {
        return deliveryDate;
    }
    public void setOrderSell(String orderSell) 
    {
        this.orderSell = orderSell;
    }

    public String getOrderSell() 
    {
        return orderSell;
    }
    public void setArtdate(Date artdate) 
    {
        this.artdate = artdate;
    }

    public Date getArtdate() 
    {
        return artdate;
    }
    public void setEnddate(Date enddate) 
    {
        this.enddate = enddate;
    }

    public Date getEnddate() 
    {
        return enddate;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("worko", getWorko())
            .append("pend", getPend())
            .append("startdate", getStartdate())
            .append("denddate", getDenddate())
            .append("orderLevel", getOrderLevel())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("materialtype", getMaterialtype())
            .append("method", getMethod())
            .append("unit", getUnit())
            .append("specification", getSpecification())
            .append("plannedQuantity", getPlannedQuantity())
            .append("pleted", getPleted())
            .append("shopId", getShopId())
            .append("productId", getProductId())
            .append("craftId", getCraftId())
            .append("proces", getProces())
            .append("dersders", getDersders())
            .append("orderId", getOrderId())
            .append("deliveryDate", getDeliveryDate())
            .append("orderSell", getOrderSell())
            .append("remark", getRemark())
            .append("artdate", getArtdate())
            .append("enddate", getEnddate())
            .append("creator", getCreator())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
